function getRandomInt(min, max) {
  return Math.floor(Math.random() * (max - min + 1)) + min;
}

function Generate() {
	Generate_1();
	Generate_2();
	Generate_3();
}

function Generate_1() {
	var one = document.getElementById("one");
	one.setAttribute("d", "m100,186c"+getRandomInt(-20,20)+",-39 "+
		getRandomInt(40,80)+",-169 44,-50c-16,119 "+-getRandomInt(10,20)+",107 -20,147");
	window.setTimeout("Generate_1()", 100);
}

function Generate_2() {
	var one = document.getElementById("two");
	one.setAttribute("d", "m300,155c"+getRandomInt(-50,50)+
		",-68 118,-64 101,27c-8.5,45.5 -59.5,56.75 "+getRandomInt(-120,-60)+",87.25c-28.25,30.5 "+
		getRandomInt(120,160)+",11.25 118.75,13.75");
	window.setTimeout("Generate_2()", 100);
}

function Generate_3() {
	var one = document.getElementById("three");
	one.setAttribute("d", "m500,118c28,-61 136,64 "+getRandomInt(30,90)+
		",66c-83,2 34.5,19.75 45.25,54.25c10,34.5 -65.75,61.25 "+getRandomInt(-120,-80)+",52.75");
	window.setTimeout("Generate_3()", 100);
}